﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="OnlineListAreaOpt.aspx.cs"
    Inherits="EntLibEC.View.Online.OnlineListAreaOpt" %>

<%@ Register Src="../Cmn/Category1.ascx" TagName="Category1" TagPrefix="uc2" %>
<%@ Register Src="../Cmn/PagePosition.ascx" TagName="PagePosition" TagPrefix="uc3" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>维护前台产品展示区域</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table class="tbl" id="Table1" cellspacing="1" cellpadding="2" align="center" border="0">
            <tr class="tblrow">
                <td colspan="4" class="title">
                    维护<asp:Label ID="Label1" runat="server">前台展示区域</asp:Label>
                </td>
            </tr>
            <tr class="tblrow">
                <th>
                    系统编号：
                </th>
                <td>
                    <asp:TextBox ID="txtSysNo" runat="server" Width="100px" ReadOnly="True"></asp:TextBox>
                </td>
                <th>
                    &nbsp;
                </th>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr class="tblrow">
                <th>
                    显示区域名称：
                </th>
                <td>
                    <asp:TextBox ID="txtListAreaName" runat="server" Width="200px"></asp:TextBox>
                </td>
                <th>
                    显示区域主键：
                </th>
                <td>
                    <asp:TextBox ID="txtListAreaKey" runat="server" Width="150px"></asp:TextBox>
                    &nbsp;(必须为整型数值)
                </td>
            </tr>
            <tr class="tblrow">
                <th>
                    产品目录大类：
                </th>
                <td>
                    <uc2:Category1 ID="ucCategory" runat="server" />
                </td>
                <th>
                    页面位置：
                </th>
                <td>
                    <uc3:PagePosition ID="ucPagePosition" runat="server" />
                </td>
            </tr>
            <tr class="tblrow">
                <th>
                    显示顺序：
                </th>
                <td>
                    <asp:TextBox ID="txtListOrder" runat="server" Width="100px"></asp:TextBox>
                </td>
                <td>
                    &nbsp;
                </td>
                <td>
                    &nbsp;
                </td>
            </tr>
            <tr class="tblrow">
                <td colspan="4" align="center">
                    <asp:Button ID="btnDelete" runat="server" Text="删  除" OnClick="btnDelete_Click" />
                    &nbsp;
                    <asp:Button ID="btnUpdate" runat="server" Text="更  新" OnClick="btnUpdate_Click" />
                    &nbsp;
                    <asp:Button ID="btnAdd" runat="server" Text="新  增" OnClick="btnAdd_Click" />
                    &nbsp;
                    <asp:Button ID="btnClose" runat="server" Text="关闭窗口" />
                </td>
            </tr>
            <tr class="tblrow">
                <td colspan="4">
                    <asp:Label ID="lblMessage" runat="server"></asp:Label>
                </td>
            </tr>
        </table>
        <div style="text-align: center; margin: 10px;">
            <div id="textdescription">
                该显示区域当前设置的产品列表：</div>
            <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" SkinID="GridView">
                <Columns>
                    <asp:BoundField DataField="ProductSysNo" HeaderText="产品系统编号" />
                    <asp:BoundField DataField="ProductID" HeaderText="产品ID" />
                    <asp:BoundField DataField="ProductName" HeaderText="产品名称" HtmlEncode="False" />
                    <asp:BoundField DataField="OnlineQty" HeaderText="在线数量" />
                    <asp:BoundField DataField="CreateUserName" HeaderText="创建人" />
                    <asp:BoundField DataField="CreateTime" HeaderText="创建时间" />
                </Columns>
            </asp:GridView>
        </div>
    </div>
    </form>
</body>
</html>
